package com.pro.dao;

import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
 * @ClassName: ConversationMapper
 * @Author: 笑笑
 * @DATE: 2021/11/16
 * @TIME: 下午 08:24
 */
public interface ConversationMapper {

    //查看所有数据展示表
    List<ConversationMapper> getTable();

    //根据id查看会话记录
    ConversationMapper getRecord(Integer id);

    //根据id删除会话记录
    @Delete("DELETE FROM js_conversation WHERE id = #{id}")
    Boolean deleteRecord(Integer id);
}
